package com.me.jingdongshop.ui.adapter;

import android.content.Context;
import android.view.ViewGroup;

import com.me.common.ui.BaseAdapterRV;
import com.me.common.ui.BaseHolderRV;
import com.me.jingdongshop.ui.holder.ProductRVHolder;

import java.util.List;

/**
 * Created by Tm on 2017/5/8.
 */

public class ProductRVAdapter extends BaseAdapterRV {
    int recId ;


    public ProductRVAdapter(Context context, List listData,int recId) {
        super(context, listData);
        this.recId = recId;
    }

    @Override
    public BaseHolderRV createViewHolder(Context context, ViewGroup parent, int viewType) {
        return new ProductRVHolder(context,parent,this,viewType,recId);
    }
}
